package com.example.buildtable.pojo;


import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(autoResultMap = true)
public class Salesdetail {
    @TableId(type = IdType.AUTO)
    private Integer salesDetailId;
    @TableField(value = "order_goods_id", target = OrderGoods.class)
    private Integer orderGoodsId;
    @TableField(relation = Relation.MANY_TO_MANY)
    private OrderGoods orderGoods;
}
